package com.sdlh.demo.pattern.strategy;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
public class AliPay extends AbstractPaymentStrategy {
    @Override
    public void pay(double amount) {
        System.out.printf("使用支付宝支付");
    }
}
